package org.xinjiang.tarim.travel.service;

import org.xinjiang.tarim.travel.model.Topic;
import org.xinjiang.tarim.travel.vo.Criteria;
import org.xinjiang.tarim.travel.vo.PageBean;

import java.util.List;

public interface TopicService {
    List<Topic> insertByList(List<Topic> topics);

    Long insert(Topic topic);

    PageBean selectByCondition(Criteria criteria, PageBean pageBean);

    List selectByPrimaryKeys(List list);

    Topic selectByPrimaryKey(Long id);
}
